package com.example.hospital.patient.wx.api.Service;

import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

public interface FaceAuthService {
    boolean hasFaceAuthInDay(Map param);
    void createFaceModel(Map param);

    @Transactional
    boolean verifyFaceModel(int userId,String photo);
}
